projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a3ee44
)
(init_baud_rate) [USE_GETOBAUD]: Use getobaud.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 3 Sep 1994 04:34:17 +0000
(
04:34
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 3 Sep 1994 04:34:17 +0000
(
04:34
+0000)
src/sysdep.c
patch
|
blob
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index dc5b7ee233f153b658a583983df81a9a69fb19f6..23920d88b6467c6f646f4e6ecc009a3ee3082992 100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-279,6
+279,11
@@
init_baud_rate ()
sg.c_cflag = B9600;
tcgetattr (input_fd, &sg);
ospeed = cfgetospeed (&sg);
+#ifdef USE_GETOBAUD
+ /* m88k-motorola-sysv3 needs this (ghazi@noc.rutgers.edu) 9/1/94. */
+ if (ospeed == 0)
+ ospeed = getobaud (sg.c_cflag);
+#endif
#else /* neither VMS nor TERMIOS */
#ifdef HAVE_TERMIO
struct termio sg;